<include file="Public:header" />
<div class="alert alert-info">
    工人信息添加
</div>
<form class="form-horizontal" method="post" action="__URL__/add" onsubmit="return ajax_submit(this);">
    <div class="control-group">
        <label class="control-label">工人姓名<span class="require">*</span></label>
        <div class="controls">
            <input type="text" name="worker_name" placeholder="长度不超过5位" maxlength="5" >
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">所在部门<span class="require">*</span></label>
        <div class="controls">
            <select name="worker_department" required>
                <option value="-1">--选择一个部门--</option>
                <option value="综合管理部">综合管理部</option>
                <option value="计划财务部">计划财务部</option>
                <option value="技术发展部">技术发展部</option>
                <option value="生产物流部">生产物流部</option>
                <option value="机械动力部">机械动力部</option>
                <option value="质量保证部">质量保证部</option>
                <option value="党群工作部">党群工作部</option>
            </select>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">所在班组<span class="require">*</span></label>
        <div class="controls">
            <select name="worker_group" required>
                <option value="-1">--选择一个班组--</option>
                <option value="重力铸造车间">重力铸造车间</option>
                <option value="高压铸造车间">高压铸造车间</option>
                <option value="机械加工车间">机械加工车间</option>
                <option value="模具修理车间">模具修理车间</option>
            </select>
        </div>
    </div>
    <div class="control-group">
        <div class="controls">
            <input type="submit" value="确　定" class="btn btn-primary" data-target="#myModal"/>
            <span class="btn btn-warning" onclick="history.back(-1);">返　回</span>
        </div>
    </div>
    <input type="hidden" name="send" value="sub"/>
</form>

<include file="Public:check"/>

</body>
</html>